﻿namespace Kratos.Framework.Infrastructures
{
    /// <summary>
    /// 引导程序接口,用于引导整个框架的启动
    /// </summary>
    public interface IBootStrapTasks
    {
        /// <summary>
        /// 获取所有DataProvider和Module,并配置;映射路由、过滤器、ModelBinders
        /// </summary>
        void Execute();

        /// <summary>
        /// 卸载启动程序
        /// </summary>
        void CleanUp();
    }
}
